package com.tjshop.android.model.tj.json;

import java.io.Serializable;

import org.json.JSONArray;
import org.json.JSONObject;

import com.tjshop.android.model.BaseObject;

public class Comment extends BaseObject implements Serializable {

	 private String comment_id;//"comment_id": "19",
     private String id_value;//"id_value": "2",
     private String content;//"content": "效果不错",
     private String comment_rank;//"comment_rank": "0",
     private String add_time;//"add_time": "1415951126",
     private String Status;//"Status": "1"
	

	public String getComment_id() {
		return comment_id;
	}


	public void setComment_id(String comment_id) {
		this.comment_id = comment_id;
	}


	public String getId_value() {
		return id_value;
	}


	public void setId_value(String id_value) {
		this.id_value = id_value;
	}


	public String getContent() {
		return content;
	}


	public void setContent(String content) {
		this.content = content;
	}


	public String getComment_rank() {
		return comment_rank;
	}


	public void setComment_rank(String comment_rank) {
		this.comment_rank = comment_rank;
	}


	public String getAdd_time() {
		return add_time;
	}


	public void setAdd_time(String add_time) {
		this.add_time = add_time;
	}


	public String getStatus() {
		return Status;
	}


	public void setStatus(String status) {
		Status = status;
	}


	public void parse(JSONObject obj) {
		setAdd_time(getString(obj, "add_time"));
		setComment_id(getString(obj, "comment_id"));
		setComment_rank(getString(obj, "comment_rank"));
		setContent(getString(obj, "content"));
		setId_value(getString(obj, "id_value"));
		setStatus(getString(obj, "Status"));
	}


	@Override
	public void parse(JSONArray data) {
		
	}
	
	public boolean delete(){
		return true;
	}
}
